package com.test.qpbgboot.schedule.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.time.LocalTime;

@Data
public class EscortScheduleSaveParam {
    @ApiModelProperty(value = "陪玩id", required = true)
    @NotNull(message = "陪玩id不能为空")
    private Long escortId;
    @ApiModelProperty(value = "排班日期", required = true)
    @NotNull(message = "排班日期不能为空")
    private LocalDate scheduleDate;
    @ApiModelProperty(value = "排班开始时间", required = true)
    @NotNull(message = "排班时间不能为空")
    private LocalTime startTime;
    @ApiModelProperty(value = "排班结束时间", required = true)
    @NotNull(message = "排班时间不能为空")
    private LocalTime endTime;
    @ApiModelProperty(value = "陪玩状态 0下班 1空闲 2已预约 3已工作",
            required = true)
    @NotNull(message = "陪玩状态不能为空")
    private String status;
    @ApiModelProperty(value = "订单id")
    private Long orderId;
}
